#include <cstdio>
#include <ctime>
#include <cstdlib>

using namespace std;

#define x 10000000

int main(){
	
	srand(time(NULL));
	
	freopen("test.in", "w", stdout);
	
	printf("%d\n%d\n", rand () % x, rand () % x);
}
